package com.service;

import com.DTO.ChatRecordDTO;
import com.Result.ChatRecordResult;
import com.entity.ChatRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XTC
 * @since 2024-07-10
 */
public interface ChatRecordService extends IService<ChatRecord> {
    boolean saveRecord(ChatRecord chatRecord);

    List<ChatRecordResult> getRecordListWithUser(ChatRecordDTO chatRecordDTO);

    List<ChatRecordResult> getRecordListWithGroup(ChatRecordDTO chatRecordDTO);
}
